Sabberworm\CSS\Parser D

Total Complexity 165
Dependencies 20
Dependents 0
Total lines 607
Lines of code 544
Logical lines of code 355
Comment lines 14
Methods 34
Properties 8

Methods 34

Method Rating Maintainability Complexity Lines of code
parseCharacter()
B
43 19 42
parseAtRule()
A
40 14 61
parseValue()
A
44 15 42
parsePrimitiveValue()
A
55 13 17
parseRuleSet()
A
48 9 36
parseStringValue()
A
50 8 29
parseList()
A
52 8 26
parseNumericValue()
A
52 8 24
parseIdentifier()
S
54 6 20
consumeUntil()
S
54 6 19
peek()
S
57 6 16
parseColorValue()
S
51 5 26
consumeWhiteSpace()
S
57 5 17
consume()
S
56 4 19
__construct()
S
56 4 17
consumeComment()
S
62 4 12
parseRule()
S
57 3 18
parseURLValue()
S
60 3 15
listDelimiterForRule()
S
70 2 6
strtolower()
S
69 2 7
streql()
S
69 2 7
strlen()
S
69 2 7
substr()
S
68 2 7
strpos()
S
68 2 7
comes()
S
69 2 6
consumeExpression()
S
67 2 7
identifierIs()
S
73 2 4
parseDocument()
S
76 1 4
isEnd()
S
80 1 3
getCharset()
S
82 1 3
inputLeft()
S
78 1 3
parseSelector()
S
68 1 7
setCharset()
S
76 1 4
parse()
S
71 1 6